package com.mall.shopping.converter;

import com.mall.shopping.dal.entitys.Panel;
import com.mall.shopping.dto.PanelDto;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Author AhaNg
 * @Date 2022/1/21 10:37
 * @description:
 * @return:
 */
@Mapper(componentModel = "spring")
public interface PanelConverter {
    PanelDto panelDoToDto(Panel panel);
    List<PanelDto> panelsDoToDto(List<Panel> panels);
}
